package com.mycontract.suitepro.base

import androidx.lifecycle.MutableLiveData
import com.mycontract.suitepro.network.NetworkException

interface BaseViewModelAction {
    /**显示loading*/
    fun showContractSuiteLoading()

    /**隐藏loading*/
    fun dismissContractSuiteLoading()

    /**处理network exception*/
    fun handleContractSuiteNetworkContractSuiteException(networkException: NetworkException)

    /**获取当前loading live data*/
    fun getContractSuiteLoadingContractSuiteLiveContractSuiteData(): MutableLiveData<Boolean>

    /**获取当前network live data*/
    fun getContractSuiteNetworkContractSuiteExceptionContractSuiteLiveContractSuiteData(): MutableLiveData<NetworkException>
}